package chi_example_java;

public class NewReleasePrice extends Price{
	
	public int getPriceCode() {
		return Movie.NEW_RELEASE;
	}

	public double getCharge(int daysRented) {
		return daysRented * 3;
	}
	
	public int getFrequentPoints(int daysRented) {
		int result = 1;
		if (daysRented > 1) {
			result++;
		}
		return result;
	}
}
